﻿namespace Xushre.WeiBoSDK.API.OClient2 {

    /// <summary>
    /// 微博读取/写入接口
    /// </summary>
    public partial struct Statuses {
        /// <summary>
        /// 获取最新的公共微博
        /// </summary>
        public static string PUBLIC_TIMELINE = "https://api.weibo.com/2/statuses/public_timeline.json";

        /// <summary>
        /// 获取当前登录用户及其所关注用户的最新微博
        /// </summary>
        public static string FRIENDS_TIMELINE = "https://api.weibo.com/2/statuses/friends_timeline.json";

        /// <summary>
        /// 获取当前登录用户及其所关注用户的最新微博
        /// </summary>
        public static string HOME_TIMELINE = "https://api.weibo.com/2/statuses/home_timeline.json";

        /// <summary>
        /// 获取当前登录用户及其所关注用户的最新微博的ID
        /// </summary>
        public static string FRIENDS_TIMELINE_IDS = "https://api.weibo.com/2/statuses/friends_timeline/ids.json";

        /// <summary>
        /// 获取用户发布的微博
        /// </summary>
        public static string USER_TIMELINE = "https://api.weibo.com/2/statuses/user_timeline.json";

        /// <summary>
        /// 获取用户发布的微博的ID
        /// </summary>
        public static string USER_TIMELINE_IDS = "https://api.weibo.com/2/statuses/user_timeline/ids.json";

        /// <summary>
        /// 获取指定微博的转发微博列表
        /// </summary>
        public static string REPOST_TIMELINE = "https://api.weibo.com/2/statuses/repost_timeline.json";

        /// <summary>
        /// 获取一条原创微博的最新转发微博的ID
        /// </summary>
        public static string REPOST_TIMELINE_IDS = "https://api.weibo.com/2/statuses/repost_timeline/ids.json";

        /// <summary>
        /// 获取当前用户最新转发的微博列表
        /// </summary>
        public static string REPOST_BY_ME = "https://api.weibo.com/2/statuses/repost_by_me.json";

        /// <summary>
        /// 获取@当前用户的最新微博
        /// </summary>
        public static string MENTIONS = "https://api.weibo.com/2/statuses/mentions.json";

        /// <summary>
        /// 获取@当前用户的最新微博的ID
        /// </summary>
        public static string MENTIONS_IDS = "https://api.weibo.com/2/statuses/mentions/ids.json";

        /// <summary>
        /// 获取双向关注用户的最新微博
        /// </summary>
        public static string BILATERAL_TIMELINE = "https://api.weibo.com/2/statuses/bilateral_timeline.json";

        /// <summary>
        /// 根据微博ID获取单条微博内容
        /// </summary>
        public static string SHOW = "https://api.weibo.com/2/statuses/show.json";

        /// <summary>
        /// 通过id获取mid
        /// </summary>
        public static string QUERYMID = "https://api.weibo.com/2/statuses/querymid.json";

        /// <summary>
        /// 通过mid获取id
        /// </summary>
        public static string QUERYID = "https://api.weibo.com/2/statuses/queryid.json";

        /// <summary>
        /// 批量获取指定微博的转发数评论数
        /// </summary>
        public static string COUNT = "https://api.weibo.com/2/statuses/count.json";

        /// <summary>
        /// 获取当前登录用户关注的人发给其的定向微博
        /// </summary>
        public static string TO_ME = "https://api.weibo.com/2/statuses/to_me.json";

        /// <summary>
        /// 获取当前登录用户关注的人发给其的定向微博ID列表
        /// </summary>
        public static string TO_ME_IDS = "https://api.weibo.com/2/statuses/to_me/ids.json";

        /// <summary>
        /// 根据ID跳转到单条微博页
        /// </summary>
        public static string GO = "http://api.weibo.com/2/statuses/go";

        /// <summary>
        /// 获取官方表情
        /// </summary>
        public static string EMOTIONS = "https://api.weibo.com/2/emotions.json";

        // 以下为写入接口

        /// <summary>
        /// 转发一条微博信息
        /// </summary>
        public static string REPOST = "https://api.weibo.com/2/statuses/repost.json";

        /// <summary>
        /// 删除微博信息
        /// </summary>
        public static string DESTORY = "https://api.weibo.com/2/statuses/destroy.json";

        /// <summary>
        /// 发布一条微博信息
        /// </summary>
        public static string UPDATE = "https://api.weibo.com/2/statuses/update.json";

        /// <summary>
        /// 上传图片并发布一条微博
        /// </summary>
        public static string UPLOAD = "https://upload.api.weibo.com/2/statuses/upload.json";

        /// <summary>
        /// 发布一条微博同时指定上传的图片或图片url
        /// </summary>
        public static string UPLOAD_URL_TEXT = "https://api.weibo.com/2/statuses/upload_url_text.json";

        /// <summary>
        /// 屏蔽某条微博
        /// </summary>
        public static string FILTER_CREATE = "https://api.weibo.com/2/statuses/filter/create.json";

        /// <summary>
        /// 屏蔽某个@我的微博及后续由其转发引起的@提及
        /// </summary>
        public static string MENTIONS_SHIELD = "https://api.weibo.com/2/statuses/mentions/shield.json";
    }
}
